<<<<<<< HEAD
	 var page = 0;
function to_select(){
     	page++;
		
     	$.ajax({
			type:"get",
			dataType:'json',
			data:{
				page:page,
				id:$('.pic').attr('id'),
				number:1
			},
			url:"product/theme_page",
			async:true,
			success:function(data){
				
				//var data = data.data;
				console.log(data);
				var aobj = document.getElementsByClassName("list-view")[0];
				/*
				if(data=="" || data==null){
					$('.loading').html('');
					$('.loading').html('<div class="mls">大哥！这是我底线</div>')
				}else{
					if(data.length<6){
						$('.loading').html('');
						$('.loading').html('<div class="mls">大哥！这是我底线</div>')
					}else{
					$('.loading').css('display','none');
					for(var i =0;i<data.length;i++){
						new_aobj = document.createElement("ul");
						new_aobj.innerHTML='<li>'+
											'<a class="list-item" href=""id=""">'+
												'<div class="p"><img class="p-pic" src="__STATIC__{$vo.products.url}"></div>'+
												'<div class="d">'+
													'<h3 class="d-title clamp">{$vo.products.summary}</h3>'+
													'<div class="d-main">'+
														'<p class="price">'+
															'<del>￥1499.00</del>'+
															'<span class="s">￥<em class="n">198</em>.00</span>'+
														'</p>'+
														'<p class="discount"><b>3折</b></p>'+
													'</div>'+
												'</div>'+
											'</a>'+
										'</li>'
						aobj.appendChild(new_aobj);
					}
					}
				}*/
			},
			error:function(error){ 
				//异常处理；
				console.log(error); 
			}
		 	});   
=======
	 var page = 0;
function to_select(){
     	page++;
		
     	$.ajax({
			type:"get",
			dataType:'json',
			data:{
				page:page,
				id:$('.pic').attr('id'),
				number:1
			},
			url:"product/theme_page",
			async:true,
			success:function(data){
				
				//var data = data.data;
				console.log(data);
				var aobj = document.getElementsByClassName("list-view")[0];
				/*
				if(data=="" || data==null){
					$('.loading').html('');
					$('.loading').html('<div class="mls">大哥！这是我底线</div>')
				}else{
					if(data.length<6){
						$('.loading').html('');
						$('.loading').html('<div class="mls">大哥！这是我底线</div>')
					}else{
					$('.loading').css('display','none');
					for(var i =0;i<data.length;i++){
						new_aobj = document.createElement("ul");
						new_aobj.innerHTML='<li>'+
											'<a class="list-item" href=""id=""">'+
												'<div class="p"><img class="p-pic" src="__STATIC__{$vo.products.url}"></div>'+
												'<div class="d">'+
													'<h3 class="d-title clamp">{$vo.products.summary}</h3>'+
													'<div class="d-main">'+
														'<p class="price">'+
															'<del>￥1499.00</del>'+
															'<span class="s">￥<em class="n">198</em>.00</span>'+
														'</p>'+
														'<p class="discount"><b>3折</b></p>'+
													'</div>'+
												'</div>'+
											'</a>'+
										'</li>'
						aobj.appendChild(new_aobj);
					}
					}
				}*/
			},
			error:function(error){ 
				//异常处理；
				console.log(error); 
			}
		 	});   
>>>>>>> 93c40d8086b7a8d5a9aa3548fdc8eb06a4272cf7
		 }